package com.yf1706.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.yf1706.bean.User;

@Controller
@RequestMapping("home")
public class HomeController {
	@RequestMapping("home")
	public String home() {
		System.out.println("进入首页");
		return "home";
	}

	@RequestMapping("desktop")
	public String desktop() {
		System.out.println("进入desktop");
		return "desktop";
	}
	
	@RequestMapping("systemSettings")
	public String systemSettings() {
		System.out.println("进入systemSettings");
		return "system_settings";
	}
	
	//zxy
	@RequestMapping("personnel")
	public String personnel() {
		System.out.println("进入personnel");
		return "zxy/personnel";
	}
	//zxy
	
	//yjw
	@RequestMapping("rec")
	public String rec() {
		System.out.println("进入rec");
		return "yjw/rec";
	}
	//yjw
	
	//djt
	@RequestMapping("salary")
	public String salary() {
		System.out.println("进入home/salary");
		return "djt/salary";
	}
	//djt
	
	//wjl
	@RequestMapping("exam")
	public String exam() {
		System.out.println("进入exam");
		return "wjl/exam";
	}
	//wjl
	
}
